FROM openjdk:21-slim-buster
WORKDIR /app
LABEL maintainer="peterwd" app="devops-demo"
COPY target/demo.jar demo.jar
EXPOSE 8080
CMD java -jar demo.jar